home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10736 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  604 b 

  1. Path: inforamp.net!ts6-06
  2. From: rmorin@inforamp.net (Randy Charles Morin)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Need help!
  5. Date: Sat, 09 Mar 96 20:40:08 GMT
  6. Organization: MiddleWorld SoftWare
  7. Message-ID: <4hsqbk$rsm@sam.inforamp.net>
  8. References: <Dnypqo.7zy@iquest.net>
  9. NNTP-Posting-Host: ts6-06.tor.inforamp.net
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. >    /* Here is the problem area*/
  13. >
  14. >    for(y=0;y<25;y++) dptr--;
  15.  
  16. Your telling me.  You are starting with d[0].  When you d--, then you are at 
  17. d[-1].  I think you want to increment, not decrement the pointer.  I could be 
  18. wrong though.
  19.  
  20. Agrivar
  21.